package cn.hill4j.tool.spring.ext.datasource.dynamic;

import com.baomidou.dynamic.datasource.DynamicRoutingDataSource;
import org.springframework.core.InfrastructureProxy;
/**
  * ClassName: OptimizeDynamicDataSource
  * Description: 多数据源
  * @author hillchen
  * Date 2023/8/8
  * @version: 1.0
  */
public class OptimizeDynamicDataSource extends DynamicRoutingDataSource implements InfrastructureProxy {
    @Override
    public Object getWrappedObject() {
        return determineDataSource();
    }
}
